package com.test3;

import java.awt.GraphicsEnvironment;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.UUID;

import com.test3.Test5.Excel;

public class Test4 {
	
	public static void main(String[] args) throws ParseException {
		
//		System.err.println(UUID.randomUUID());
//		System.err.println(UUID.randomUUID());
//		System.err.println(UUID.randomUUID());
//		SimpleDateFormat sdf = new SimpleDateFormat("yyyy-M-d");
//		Date start = sdf.parse("2017-01-01");
//		Date end = sdf.parse("2023-02-21");
//		Calendar dd = Calendar.getInstance();
//		dd.setTime(start);
//		while (end.after(dd.getTime())) {
//			dd.add(Calendar.DAY_OF_YEAR, +1);
//			System.out.println(sdf.format(dd.getTime()));
//		}
		GraphicsEnvironment env = GraphicsEnvironment.getLocalGraphicsEnvironment();
		String[] fontName = env.getAvailableFontFamilyNames();
		for(int i=0;i<fontName.length;i++) {
			System.out.println(fontName[i]);
		}
	}
	
	public void str(final String ss) {
		
	}

}
